package cn.dengta.webapp.trade.vo;

import java.util.List;

import cn.dengta.webapp.base.vo.AbstractVO;
import cn.dengta.webapp.trade.entity.UserGold;
import lombok.*;
import lombok.experimental.Accessors;

@Setter
@Getter
@Accessors(chain = true)
public class UserGoldVO extends AbstractVO<UserGold> {

	/** 账户总额（= active_amount + frozen_amount） */
	Integer totalAmount;
	/** 可用额度 */
	Integer activeAmount;
	/** 冻结额度 */
	Integer frozenAmount;
	/** 钻石信息 */
	private UserCoinVO coin;

	private List<ExchangeData> exchanges;
	@Getter
	@Setter
	@NoArgsConstructor
	@AllArgsConstructor
	public static class ExchangeData{
		private String label;
		private Integer gold;
		private Integer coin;
	}
}
